﻿using System;
using System.Data;

public partial class manager_depteval_NowEval : System.Web.UI.Page
{
    SQ_Eval Ev = new SQ_Eval();
    DBHelper db = new DBHelper();
    public string Html_Title = "";
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            bindData();
        }
    }
    private void bindData()
    {        
        string dept = Session[AppConfig.SESSION_USER_DEPT].ToString();
        DataTable dt = db.getList("select * from v_A_Eval_Main where dept='" + dept + "' and [year]=" + Ev.kp_year + " and [month]=" + Ev.kp_month + "  order by psid");
        rptDeApply_1.DataSource = dt;
        rptDeApply_1.DataBind();

    }
}